package org.jeecg.common.workflow.vo.task.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("管理后台 - 流程回退的 Request VO")
@Data
public class BpmTaskBackReqVO {

    @ApiModelProperty(value = "任务编号", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String taskId;

    @ApiModelProperty(value = "流程定义key", required = true, example = "不错不错！")
    @NotEmpty(message = "流程定义key不能为空")
    private String targetKey;

    @ApiModelProperty(value = "审批意见", required = true, example = "不错不错！")
    @NotEmpty(message = "审批意见不能为空")
    private String comment;

}
